import Vue from "vue";
import VueRouter from "vue-router";
import routes from "./routes.js";

Vue.use(VueRouter);
let router = new VueRouter({
  routes,
  hashbang: true,
  history: false,
  base: "/idata/",
  saveScrollPosition: true,
  transitionOnLoad: true
  // mode: "history"
});

export default router;
